{% load urls %}
{% load cache %}
{% load comments %}
<div class="widget">
    <h3>Последние комментарии</h3>
    <ul id="lastComments">
        {% for comment in comments %}
            <li>
                {% comment_record_url comment %}<br/>
                <span class="comment">{{ comment.user.get_profile.get_user_name }}: {{ comment.message|safe }}</span>
            </li>
        {% endfor %}
    </ul>
</div>